Hi Jeroen,
You can try this :
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=left]
Sorry if I send owls to Athens !
JP
Le 19/03/2024 à 15:38, Jeroen a écrit :
For comments that are placed in the margin
=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
% Use Theano Didot as Ancient Greek font
\definefallbackfamily[mainface][serif
]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
\definefallbackfamily[mainface][rm][Theano
Didot
]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
\definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek,
it={Old Standard Italic}, force=yes]
\definefallbackfamily [mainface] [rm] [ipamincho]
[range=cjkunifiedideographs]
\definefallbackfamily
You can get of the warning by changing the alignment for the \margindata
entries.
\setupmarginframed
[inmargin]
[align={flushright,broad}]
\starttext
Overfull\inmargin{abc}
\stoptext
You can produce the same message with the following example.
\starttext
\vbox
{\hsize
=no,
alternative=margintext,
align=middle]
\setupmargindata
[inmargin]
[width=3cm,
style=\tfxx,
margin=normal, % makes distance work
distance=1cm]
\setupmarginframed
[inmargin]
[width=2cm,
frame=on,
align=middle]
\starttext
\chapter{Chapter}
\input
,agr}]
\mainlanguage[fr]
\setcharacterspacing[frenchpunctuation]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenviron
data[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
\definefontfamily[mainface] [serif] [GFS Didot]
\setupbodyfont[mainface]
\setupindenting[1.5em]
\setupindenting[yes]
\setupwhit
][patterns={fr,agr}]
\mainlanguage[fr]
\setcharacterspacing[frenchpunctuation]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin
[fr]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic
][patterns={fr,agr}]
\mainlanguage[fr]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right
={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
\definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek,
it={Old Standard Italic
cal blank space? This \vskip4cm\Info{scores}\vskip4cm don't make the
> job.
>
> You can use the \framed command to reserve the space for the answer and
> place with the score with a layer as background for the frame.
>
> \setupmargindata[inmargin][style={\ss\tfx},location=outer,align=
ground for the frame.
\setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle]
\setupmarginframed[inmargin][align=middle,location=outer]
\definelayer[infolayer][width=\framedwidth,height=\framedheight]
\startsetups[infolayer:place]
\setlayer[infolayer][preset=middleright]{\rotate{\getva
]
\setupmarginframed[inmargin][align=middle,location=outer]
\def\Info#1{\margindata[inmargin]{\rotate{#1}\ignorespaces}}
\starttext
\startitemize[n]
\item Question 1
\vskip8cm
\Info{20 \periods[3] 15 \periods[3] 10}
\vskip1cm
\item Question 2
\vskip8cm
\Info{20 \periods[3] 15 \periods[3] 10}
\page
Wolfgang Schuster schuster.wolfgang at gmail.com writes:
...
\setuppagenumbering[style=\ttc]
\setuplayout[backspace=4cm]
\showframe
\setupmarginframed[inmargin][align=flushleft]
\setupmargindata [inmargin][style={\switchtobodyfont[ss,18]}]
% Faster method to switch the font
Am 25.11.2014 um 10:14 schrieb Richard Sherman rss@gmail.com:
Wolfgang Schuster schuster.wolfgang at gmail.com writes:
...
\setuppagenumbering[style=\ttc]
\setuplayout[backspace=4cm]
\showframe
\setupmarginframed[inmargin][align=flushleft]
\setupmargindata [inmargin][style
in \setupmargindata.
3. The alignment in the margin text can be set with \setupmarginframed or the
second
optional argument of \inmargin.
\setuppagenumbering[style=\ttc]
\setuplayout[backspace=4cm]
\showframe
\setupmarginframed[inmargin][align=flushleft]
\setupmargindata [inmargin][style
that the following does what you
want as far as setting up the margin text and description. I am no help on
the mp stuff that you will need for curly or other-dotted rules.
As you probably saw, neither \setupmargindata nor \setupmarginframed are in
the wiki. The list archive has some hints
? When I put it into \definesidebar, the sidebar
disappears, and when I write \startsidebar[oeps,alternative=1]
it reverts to the default left sidebar (albeit dotted).
Matthias
\setupmargindata [left]
[location=right,
style=\bfxx]
\setupmarginframed[left
that you will need for curly or other-dotted rules.
As you probably saw, neither \setupmargindata nor \setupmarginframed are
in the wiki. The list archive has some hints, but the source code, if
you ignore a couple of misleading comments, suggested what I got to work.
The problem you will run
is the line-break in the margin of the second paragraph
different than above?
The margin box itself is positioned correctly, but I have no clue
where the empty line comes from. You can visualise the box with:
\setupmarginframed [inouter] [frame=on]
Marco
signature.asc
Description
Thank you very much, Wolfgang and Luigi,
that was exactly what I was looking for!
Footnotes disable the rule with the \resetallattributes command
but it’s up to Hans to add it to the margin notes.
Maybe there could be parameter like
\setupmarginframed[resetfeatures=(yes|no|underbar
there could be parameter like
\setupmarginframed[resetfeatures=(yes|no|underbar|color|…)] …
There is no need for such a setting because the command has to be added at the
begin of \margindata
which doesn’t cause problems with colors etc. which are applied later in the
process.
Wolfgang
The default seems to be bold and aligned right. Changing the style
works, but trying to align inner/left also has no effect.
Style and color:
\setupmargindata[…][style=…,color=…]
Alignment:
\setupmarginframed[align=…]
Can be also done direct:
\inmargin[style=…,color=…][align=…]{…}
Wolfgang
. \setupmargindata +
\setupmarginframed).
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
\stoptext
What has changed is how to defined a new command (\defineinmargin vs.
\definemargindata)
and how to customize these commands (\setupinmargin vs. \setupmargindata +
\setupmarginframed).
Wolfgang
On Tue, 2011-11-29 at 00:19 +0100, Wolfgang Schuster wrote:
style={\switchtobodyfont[7pt]\it}
or set “foregroundstyle=italic” for \setupmarginframed.
To show the complete text you have to increase the backspace.
\setuplayout[backspace=3.5cm]
Wolfgang
Thanks Wolfgang. That did
Am 28.11.2011 um 06:07 schrieb Kip Warner:
On Sun, 2011-11-27 at 22:43 +0100, Wolfgang Schuster wrote:
Search for \setupmargindata and \setupmarginframed, you can see all keys for
commands in my reference: https://bitbucket.org/wolfs/commands/downloads
Wolfgang
Hey Wolfgang. I took
On Mon, 2011-11-28 at 10:39 +0100, Wolfgang Schuster wrote:
Am 28.11.2011 um 06:07 schrieb Kip Warner:
On Sun, 2011-11-27 at 22:43 +0100, Wolfgang Schuster wrote:
Search for \setupmargindata and \setupmarginframed, you can see all keys
for commands in my reference:
https
Am 29.11.2011 um 00:13 schrieb Kip Warner:
On Mon, 2011-11-28 at 10:39 +0100, Wolfgang Schuster wrote:
Am 28.11.2011 um 06:07 schrieb Kip Warner:
On Sun, 2011-11-27 at 22:43 +0100, Wolfgang Schuster wrote:
Search for \setupmargindata and \setupmarginframed, you can see all keys
=colour_page,
bodyfont=3pt,
before={\switchtobodyfont[3pt]}
style=\ss\tfx\setupinterlinespace]
Search for \setupmargindata and \setupmarginframed, you can see all keys for
commands in my reference: https://bitbucket.org/wolfs/commands/downloads
Wolfgang
On Sun, 2011-11-27 at 22:43 +0100, Wolfgang Schuster wrote:
Search for \setupmargindata and \setupmarginframed, you can see all keys for
commands in my reference: https://bitbucket.org/wolfs/commands/downloads
Wolfgang
Hey Wolfgang. I took a look at the command reference you linked me
project:
=
\setupmargindata[inmargin][stack=yes]
\setupmarginframed[inmargin][stack=yes]
I don’t have time to look at your problem but the stack parameter has to
bet set with \setupmargindata, \setupmarginframed supports only options
from \setupframed (because it’s
, but it would be a
godsend to the current porting-to-mkiv project:
=
\setupmargindata[inmargin][stack=yes]
\setupmarginframed[inmargin][stack=yes]
I don’t have time to look at your problem but the stack parameter has
to bet set with \setupmargindata, \setupmarginframed
system, and now the new system
does not support references …
The old \inmargin command is gone, Hans rewrote the whole code for
\inmargin etc.
You can change the alignment global with \setupmarginframed[align=outer]
for for a single
command with \inmargin[][align=outer]{…}
Hmm .. does
, and now the new system
does not support references …
The old \inmargin command is gone, Hans rewrote the whole code for
\inmargin etc.
You can change the alignment global with \setupmarginframed[align=outer]
for for a single
command with \inmargin[][align=outer]{…}
Is there any workaround
, and now the new system
does not support references …
The old \inmargin command is gone, Hans rewrote the whole code for
\inmargin etc.
You can change the alignment global with \setupmarginframed[align=outer]
for for a single
command with \inmargin[][align=outer]{…}
Is there any workaround
, the old \inmargin no longer respect
[align=outer], so I switched to the new system, and now the new system does
not support references …
The old \inmargin command is gone, Hans rewrote the whole code for \inmargin
etc.
You can change the alignment global with \setupmarginframed[align=outer
no longer respect
[align=outer], so I switched to the new system, and now the new system does
not support references …
The old \inmargin command is gone, Hans rewrote the whole code for \inmargin
etc.
You can change the alignment global with \setupmarginframed[align=outer
On Thu, 03 Nov 2011 14:23:28 -0600, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
The old \inmargin command is gone, Hans rewrote the whole code for
\inmargin etc.
You can change the alignment global with
\setupmarginframed[align=outer] for for a single
command
with \definemargindata.
To describe what’s the difference between \setupmargindata and
\setupmarginframed is a wrote a very simple version of \inmargin.
\def\imrand#1%
{\vadjust
{\llap
{\smash[h]{\inframed{#1}}%
\hskip\leftmargindistance}}}
\starttext \showframe
text text text
define a new command with \definemargindata.
To describe what’s the difference between \setupmargindata and
\setupmarginframed is a wrote a very simple version of \inmargin.
:
You can find a overview about all keys and their values in my new
command reference: https://bitbucket.org/wolfs/commands
Dear Syndicate,
Does stacking work? I've never tried it before, but it would be a godsend
to the current porting-to-mkiv project:
=
\setupmargindata[inmargin][stack=yes]
\setupmarginframed[inmargin][stack=yes]
\starttext
\dorecurse{2}{This is a test of the annotation
Am 04.11.2011 um 01:06 schrieb Idris Samawi Hamid ادريس سماوي حامد:
Dear Syndicate,
Does stacking work? I've never tried it before, but it would be a godsend to
the current porting-to-mkiv project:
=
\setupmargindata[inmargin][stack=yes]
\setupmarginframed
rewrote the whole code for \inmargin
etc.
You can change the alignment global with \setupmarginframed[align=outer] for
for a single
command with \inmargin[][align=outer]{…}
Is there any workaround, either for \inmargin or \inoutermargin? My publisher
is going to kill me ;-)
\usemodule
=outer]
\setupmarginframed[inmargin][align=outer,location=inner]
\def\Info#1{\margindata[inmargin]{\rotate{#1}}}
\starttext
\chapter{Tufte}
\Info{This is a text by Tufte 1}
\input tufte
\Info{This is a text by Tufte 2}
\chapter{Knuth}
\Info{This is a text by Knuth 1}
\input knuth
\Info
)
\setupmarginframed[inmargin][align=inner]
It would really help when you provide a minimal example because
it’s very annoying to write always one by myself.
Wolfgang
___
If your question is of interest to others as well, please add
I will remember to include a minimal example from now on.
Here is the current:
\setuplayout[location=doublesided]
\setuppagenumbering[location=right,alternative=doublesided]
\setupmargindata[inmargin][location=outer,align=inner] % almost correct. on
odd pages wrong alignment
% \setupmarginframed
Whoops! Sent too early, this is the updated minimal example:
\setuplayout[location=doublesided]
\setuppagenumbering[location=right,alternative=doublesided]
\setupmargindata[inmargin][location=outer,align=inner] % almost correct. on
odd pages wrong alignment
% \setupmarginframed[inmargin][align
Aha! It's this combination that makes it work:
\setupmargindata[inmargin][location=outer,align=inner] % align=inner has no
effect here?!
\setupmarginframed[inmargin][align=inner] % but when I add this it works and
aligns to the body text
Thanks for your help, I'm all set now.
-Ursprüngliche
Am 02.03.2011 um 18:10 schrieb Peter Münster:
Hello,
Bug or feature?
Hans rewrote the margintext code and the new commands are
- \definemargindata
to create a new command (different syntax than the old code) and
- \setupmargindata and
- \setupmarginframed
to change the values
52 matches
Mail list logo